class Student:
    def play(self):
        print("%s在玩耍"%self.name)
    def run(self):
        print("%s在跑步"%self.name)
    def __init__(self,name,age,sex):
        self.name =name
        self.age= age
        self.sex = sex
s1 = Student("小明",12,"男")
s2 = Student("小黄",18,"男")
s1.play()
s2.run()